package com.licenta.fbApp.client;

import com.google.gwt.event.shared.GwtEvent;

public class FriendRatedEvent extends GwtEvent<FriendRatedEventHandler> {
  public static Type<FriendRatedEventHandler> TYPE = new Type<FriendRatedEventHandler>();

  /**
 * @uml.property  name="uid"
 */
private Long uid;
  
  public FriendRatedEvent(Long uid, boolean isUsing, int Rate) {
    this.uid = uid;
  }

@SuppressWarnings("static-access")
@Override
public com.google.gwt.event.shared.GwtEvent.Type<FriendRatedEventHandler> getAssociatedType() {
	return this.TYPE;
}

@Override
protected void dispatch(FriendRatedEventHandler handler) {
	handler.onFriendRated(this);	
}

}
